import { Component, OnInit } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './reg.menu.html'
})
export class RegMenuComponent implements OnInit {
  fs: any = null;
  regDic: any = null;
  constructor() {
    // 注册表单
    this.fs = new form.FormSideTreeService('menujurisdiction', {
      orderObject: { order: 0 },
      keyField: 'id',
      randomFields: ['id'],
      pageSize: 1000,
      foreignKey: 'registerService'
    });

    this.regDic = new form.DictionaryService('p_register_service');
    this.regDic.load('0');
  }

  ngOnInit(): void {
  }
}
